import request from '../utils/request'

export function getAct(params) {
  return request({
    url: '/ssyt/user/getlist',
    method: 'GET',
    params
  })
}

export function createAct(data) {
  return request({
    url: '/ssyt/user/add',
    method: 'put',
    data
  })
}

export function updateAct(data) {
  return request({
    url: '/ssyt/user/update',
    method: 'put',
    data
  })
}

export function update_status(data) {
  return request({
    url: '/act/update_status',
    method: 'post',
    data
  })
}

export function delAct(params) {
  return request({
    url: '/ssyt/user/delete',
    method: 'delete',
    params
  })
}

export function getJavaAct() {
  return request({
    url: '/java/getlist',
    method: 'get',
  })
}
